package com.lwx.service;

import com.lwx.entity.User;
import com.lwx.mapper.UserMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author draem
 * @create 2018-06-28 15:51
 */
@Service
public class UserServiceImpl implements UserService {


    @Autowired
    private UserMapper userMapper;




    @Override
    public int insert(User user) {

        return  userMapper.insert(user);
    }


}
